package com.sinopec.iuhf

//各项设置
interface IUHFSettings {

    interface ASeting<T> {
        suspend fun get(): T

        suspend fun set(t: T): Result<*>
    }


    //功率
    val pow: IUHFSettings.ASeting<Int>

}

suspend inline infix fun <T> IUHFSettings.ASeting<T>.provide(t: T): Result<*> {
    return set(t)
}